home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / src / mmem.inc < prev    next >
Encoding:
Text File  |  1997-01-16  |  1.7 KB  |  60 lines

  1. ;*      MMEM.INC
  2. ;*
  3. ;* MIDAS Sound System memory handling routines
  4. ;*
  5. ;* $Id: mmem.inc,v 1.3 1997/01/16 18:41:59 pekangas Exp $
  6. ;*
  7. ;* Copyright 1996,1997 Housemarque Inc.
  8. ;*
  9. ;* This file is part of the MIDAS Sound System, and may only be
  10. ;* used, modified and distributed under the terms of the MIDAS
  11. ;* Sound System license, LICENSE.TXT. By continuing to use,
  12. ;* modify or distribute this file you indicate that you have
  13. ;* read the license and understand and accept it fully.
  14. ;*
  15.  
  16.  
  17. ;/***************************************************************************\
  18. ;*
  19. ;* Function:    int memAlloc(unsigned len, void **blk);
  20. ;*
  21. ;* Description: Allocates a block of conventional memory
  22. ;*
  23. ;* Input:       unsigned len            Memory block length in bytes
  24. ;*              void **blk              Pointer to memory block pointer
  25. ;*
  26. ;* Returns:     MIDAS error code.
  27. ;*              Pointer to allocated block stored in *blk, NULL if error.
  28. ;*
  29. ;\***************************************************************************/
  30.  
  31. GLOBAL  LANG memAlloc : _funct
  32.  
  33.  
  34.  
  35.  
  36. ;/***************************************************************************\
  37. ;*
  38. ;* Function:    int memFree(void *blk);
  39. ;*
  40. ;* Description: Deallocates a memory block allocated with memAlloc()
  41. ;*
  42. ;* Input:       void *blk               Memory block pointer
  43. ;*
  44. ;* Returns:     MIDAS error code.
  45. ;*
  46. ;\***************************************************************************/
  47.  
  48. GLOBAL  LANG memFree : _funct
  49.  
  50.  
  51. ;* $Log: mmem.inc,v $
  52. ;* Revision 1.3  1997/01/16 18:41:59  pekangas
  53. ;* Changed copyright messages to Housemarque
  54. ;*
  55. ;* Revision 1.2  1996/05/30 22:38:46  pekangas
  56. ;* no changes?
  57. ;*
  58. ;* Revision 1.1  1996/05/22 20:49:33  pekangas
  59. ;* Initial revision
  60. ;*